<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>Hello huimen</h1>
    测试Rest风格
    <form action="/user" method="get">
        <input value="REST-GET 提交" type="submit">
    </form>
    <form action="/user" method="post">
        <input value="REST-POST 提交" type="submit">
    </form>
    <form action="/user" method="post">
        <input name="_method" value="DELETE" type="hidden"/>
        <input value="REST-DELETE 提交" type="submit">
    </form>
    <form action="/user" method="post">
        <input name="_method" value="PUT" type="hidden"/>
        <input value="REST-PUT 提交" type="submit">
    </form>
    测试基本注解：<br>
    <a href="/restful/car/47/owner/fq">Rest风格</a><br>
    <a href="/pathvariable//car/11">@PathVariable(路径变量)</a><br>
    <a href="/aheader/car/22">@RequestHeader(获取某一请求头)</a><br>
    <a href="/allHeaders/car/33">@HttpHeader(获取全部请求头)</a><br>
    <a href="/requestparam/car/44/owner/lisi?age=18&inters=basketball&inters=game">@RequestParam(获取请求参数)</a><br>
    <a href="/cookie/car/55">@CookieValue(获取cookie值)===>用不了</a><br>
    <a href="/requestattribute">@RequestBody(获取请求体)【POST】===>如下表单</a><br>
    <a href="/goto">@RequestAttribute(获取Request域属性)</a><br>
    <!--<a href="/car?brand=byd">@RequestParam-GET</a><br>
    <a href="/car?brand=byd&brand=yd">@RequestParam-GET</a><br>-->
    <a href="/cars/lb/sell;low=34;brand=byd,audi,yd">@MatrixVariable(矩阵变量)</a><br>
    <a href="/cars/lb/sell;low=34;brand=byd;brand=audi;brand=yd">@MatrixVariable(矩阵变量)</a><br>
    <a href="/boss/1;age=20/2;age=10">@MatrixVariable(矩阵变量)</a><br>

    <form action="/requestattribute" method="post">
        测试@RequestBody获取数据<br>
        用户名：<input name="userName" type="text"/>
        邮箱：<input name="email" type="email"/>
        <input value="提交" type="submit"/>
     </form>
</body>
</html>